import request from '@/utils/request'

// 会员中心首页
export function getGameLists(params) {
  return request({
    url: '/ActivityApi/index',
    method: 'get',
    params
  })
}

// 幸运大转盘
export function activityGame(data) {
  return request({
    url: '/ActivityApi/game',
    method: 'post',
    data
  })
}

// 获取游戏数据
export function playGames(data) {
  return request({
    url: '/ActivityApi/playGames',
    method: 'post',
    data
  })
}
